package com.petrochina.cloudconfig.mapper;

import com.petrochina.cloudconfig.domain.Pkg;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PkgMapper {


    public List<Pkg> getPkgs(@Param("searchText") String searchText);

    public boolean addPkg(Pkg pkg);

    public boolean delPkgByFullName(String pkgFullName);

    public Pkg getPkg(int pkgId);

    public boolean delPkg(int pkgId);

    public Pkg getPkgByFullName(String pkgFullName);
}
